package com.hiyee.enums;

/**
 * 购物车更新操作枚举
 *
 * @author WangBin
 */
public enum CartUpdateActionEnum {

    // 选中、取消选中
    CHECKED(0, "checked"),
    // 删除
    DELETE(1, "delete"),
    // 改变
    CHANGE(2, "change"),

    ;

    private int value;
    private String label;
    CartUpdateActionEnum(int value, String label) {
        this.value = value;
        this.label = label;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
